package org.example.platform.design.abstractfactory.factorymehod2.factorymehod;


import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.dept.DeptSQLInterface;
import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.dept.DeptSqlServerDB;
import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.user.SQLInterface;
import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.user.SqlServerDB;

public class SqlServer implements FactoryInterface {

    @Override
    public SQLInterface create() {
        return new SqlServerDB();
    }

    @Override
    public DeptSQLInterface createDept() {
        return new DeptSqlServerDB();
    }
}
